home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / Sample Editors⁄Viewers / Sound Editor / Source / SoundEditorObj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-11  |  853 b   |  39 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SoundEditorObj.h
  3.  
  4.     Contains:    EditorPropAccessor class implementation.
  5.  
  6.     Written by:    Andrey Dolgachev
  7.  
  8.     Copyright:    © 1994,95 by Apple Computer, Inc., all rights reserved.
  9. */
  10.  
  11.  
  12. #ifndef _SOUNDEDITOROBJ_
  13. #define _SOUNDEDITOROBJ_
  14.  
  15. //------------------------------------------------------------------------------
  16. // Forward Declarations
  17. //------------------------------------------------------------------------------
  18. class SoundEditor;
  19.  
  20. //------------------------------------------------------------------------------
  21. // Class Definitions
  22. //------------------------------------------------------------------------------
  23.  
  24. class EditorPropAccessor
  25. {
  26.     public:
  27.     
  28.     EditorPropAccessor(DescType property, SoundEditor* part);
  29.     void SetData(AEDesc* data);
  30.     void GetData(AEDesc* result);
  31.     
  32.     private:
  33.     
  34.     SoundEditor*    fPart;
  35.     DescType        fProperty;
  36.     
  37. };
  38.  
  39. #endif